package com.calcium.capiprovicerclient;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

@Data
@Component
@ComponentScan
@ConfigurationProperties("capi.provider")
public class CapiConfigure {

    @Bean
    public CapiProvider getProvider() {
        return new CapiProvider();
    }
}
